package com.pilipili.zeus.eduService.service;

import com.pilipili.zeus.eduService.entity.EduChapter;
import com.pilipili.zeus.eduService.entity.chapter.Chapter;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 番剧 服务类
 *
 * @author Unlimited_Blade_Works
 * @since 2021-05-26
 */
public interface EduChapterService extends IService<EduChapter> {

    List<Chapter> getChapterVideoById(String chapterId);

    boolean deleteById(String chapterId);

    void removeChapterByCourseId(String courseId);

    void saveChaptersDataByExcel(MultipartFile file, EduChapterService chapterService);
}
